# 2023-6 2
n = int(input())
r1=0
r2=0
for i in range(1,n+1):
    r1+=i
    r2+=r1
print(r2)